package cn.dakaqi.dao.user;

import cn.dakaqi.entities.user.UserSupplement;
import cn.dakaqi.utils.exception.ServiceRuntimeException;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

/**
 * @author beliveli at 2016/08/12
 */
public interface UserSupplementDao extends PagingAndSortingRepository<UserSupplement, Long>, JpaSpecificationExecutor<UserSupplement> {

    UserSupplement findByUserId(int userId);

}